clear all;
close all;
clc;

TotalBits = 8;
SignBits = 1;

Qnotation_m = (TotalBits-SignBits):-1:0;
Qnotation_n = 0:(TotalBits-SignBits);

RangeMin = -2.^(Qnotation_m);
RangeMax = 2.^(Qnotation_m)-2.^(-1.*Qnotation_n);
Granity = 2.^(-1.*Qnotation_n);

for i = 1 : columns(Qnotation_m)
	printf("Q%d,%d, rMin=%f, rMax=%f, res=%f\n", Qnotation_m(i), Qnotation_n(i), RangeMin(i), RangeMax(i), Granity(i));
endfor